package com.ljx.itbbs.server.article.event;

import com.ljx.itbbs.server.article.domain.entity.CommentEntity;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

import java.time.Clock;

/**
 * @Author: LiJunXi
 * @Description:
 * @Date: 2024-03-25  20:43
 */
@Getter
public class CommentPostEvent  extends ApplicationEvent {


    private Long commentId;

    private Long articleId;

    public CommentPostEvent(Object source, Long commentId, Long articleId) {
        super(source);
        this.commentId = commentId;
        this.articleId = articleId;
    }
}
